<?php
/*
 * Created on Sep 11, 2010
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

require_once("system/library/log4php/Logger.php");

class Log {
	static $_logger;
	public static function getLogger($className) {
		if (self::$_logger == null) {
			Logger::configure('system/configuration/log4php.properties');
		}
		self::$_logger = Logger::getLogger($className);
		return self::$_logger;
	}
}

?>
